package com.moss.cloud.base.biz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.moss.cloud.base.api.model.param.LockPageParam;
import com.moss.cloud.base.api.model.vo.AccountLockHistoryRecordVO;
import com.moss.cloud.base.biz.model.AccountLockHistoryRecord;

/**
 * 账号锁定历史记录业务接口
 *
 * @author 瑾年
 * @date 2023年12月23日
 */
public interface IAccountLockHistoryRecordService extends IService<AccountLockHistoryRecord> {

    /**
     * 账号锁定历史记录分页
     *
     * @param pageParam
     * @return
     */
    IPage<AccountLockHistoryRecordVO> recordPage(LockPageParam pageParam);

    /**
     * 新增锁定历史记录
     *
     * @param accountLockHistoryRecord
     * @return
     */
    boolean addHistoryRecord(AccountLockHistoryRecord accountLockHistoryRecord);
}
